package com.zzxy.spring4.service.impl;

import com.zzxy.spring4.dao.IAccountDao;
import com.zzxy.spring4.service.IAccountService;

public class AccountServicelmpl implements IAccountService {
    private IAccountDao accountDao;
    public IAccountDao getAccountDao(){
    return accountDao;
    }
    public void setAccountDao(IAccountDao accountDao){
       this.accountDao=accountDao;
    }
    @Override
    public void out(String outer, int money) {
        accountDao.out(outer,money);
    }

    @Override
    public void in(String inner, int money) {
        accountDao.in(inner,money);
    }
}
